<%= form_for(@service) do |f| %>
  <% if @service.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@service.errors.count, "error") %> prohibited this service from being saved:</h2>

      <ul>
      <% @service.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name, :readonly => true %>
  </div>
  <div class="field">
    <%= f.label :binding_type %><br />
    <%= f.text_field :binding_type, :readonly => true %>
  </div>
  <div class="field">
    <%= f.label :composite %><br />
    <%= f.text_field :composite, :readonly => true %>
  </div>
  <div class="field">
    <%= f.label :location_abstract %><br />
    <%= f.text_field :location_abstract, :readonly => true, :size => 70  %>
  </div>
  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description, :cols => "100", :rows => "5"%>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
